package io.renren.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


/**
 * 批量采购表
 *
* @author 翟文闯 619556390@QQ.com
 * @since 1.0.0 2020-01-03
 */
@Data
@ApiModel(value = "批量采购表")
public class BatchOrderDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "批量采购表id")
	private Long batchOrderId;

	@ApiModelProperty(value = "食堂id")
	private Long canteenId;

	@ApiModelProperty(value = "创建时间")
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	private Date createDate;
	/**
	 * 0草稿状态、1待审核、2审核通过
	 */
	@ApiModelProperty(value = "状态（存流程）")
	private Integer status=0;

	@ApiModelProperty(value = "审核时间")
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	private Date auditTime;

	@ApiModelProperty(value = "审核人备注")
	private String canteenAdminRemark;

	@ApiModelProperty(value = "审核人")
	private Long canteenAdminId;

	@ApiModelProperty(value = "清单名称")
	private String batchOrderName;

	@ApiModelProperty(value = "金额")
	private Float realityMoney;

	@ApiModelProperty(value = "照片")
	private String entityPhoto;

	@ApiModelProperty(value = "供应商id")
	private Long supplierId;
	@ApiModelProperty(value = "金额")
	private Float tatolMoney;

	@ApiModelProperty(value = "id数组")
	private String ids;

	@ApiModelProperty(value = "供应商名称")
	private String supplierName;

}